<html>
<head><meta charset="utf-8"><title>rls_vscode_extension · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html">rls_vscode_extension</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="227424965"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227424965" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> alcroito <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227424965">(Feb 23 2021 at 12:55)</a>:</h4>
<p>Hi. Not sure if this is the right channel, but here goes. I added some new config fields to rust analyzer <a href="http://config.rs">config.rs</a>, and would like to test them / set them using VSCode. Are there some docs on how to build the RLS vscode extension and load it into vscode? I didn't seem to find any in the RLS dev docs.</p>



<a name="227425076"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425076" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425076">(Feb 23 2021 at 12:56)</a>:</h4>
<p>Yes, but first, which extension are you using?</p>



<a name="227425181"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425181" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> alcroito <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425181">(Feb 23 2021 at 12:56)</a>:</h4>
<p>rust-analyzer. i assume the one in src/editors/code</p>



<a name="227425194"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425194" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425194">(Feb 23 2021 at 12:56)</a>:</h4>
<p><a href="https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/debugging.md">https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/debugging.md</a></p>



<a name="227425222"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425222" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425222">(Feb 23 2021 at 12:57)</a>:</h4>
<p>I usually just <code>cargo xtask install --client</code> and skip the debugger</p>



<a name="227425405"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425405" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> alcroito <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425405">(Feb 23 2021 at 12:58)</a>:</h4>
<p>Running cargo xtask --install client-code doesn't seem to do much, it only shows the xtask subcommands</p>



<a name="227425441"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425441" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425441">(Feb 23 2021 at 12:58)</a>:</h4>
<p>without the <code>--</code></p>



<a name="227425456"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425456" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> alcroito <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425456">(Feb 23 2021 at 12:58)</a>:</h4>
<p>Error: Unused arguments. :)</p>



<a name="227425457"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425457" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425457">(Feb 23 2021 at 12:58)</a>:</h4>
<p>Ugh, sorry</p>



<a name="227425479"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425479" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425479">(Feb 23 2021 at 12:59)</a>:</h4>
<p><code>cargo xtask install --client</code></p>



<a name="227425554"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425554" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425554">(Feb 23 2021 at 12:59)</a>:</h4>
<p>Shows I don't run that often enough :)</p>



<a name="227425569"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425569" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> alcroito <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425569">(Feb 23 2021 at 13:00)</a>:</h4>
<p>Extension 'rust-analyzer.vsix' was successfully installed.<br>
Does that mean that the extension is already installed into the vscode instance i usually use?</p>



<a name="227425622"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425622" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425622">(Feb 23 2021 at 13:00)</a>:</h4>
<p>Yup</p>



<a name="227425881"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425881" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> alcroito <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425881">(Feb 23 2021 at 13:02)</a>:</h4>
<p>Nice, restarting vscode shows the new options. And of course, knowing the magical command now, i found 'cargo xtask install --client' referenced in the 'Launching rust-analyzer' section of the dev docs. I guess Having a more stand-out section just for that might be useful, for those of use who don't usually develop vscode extensions.</p>



<a name="227425937"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension/near/227425937" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> alcroito <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rls_vscode_extension.html#227425937">(Feb 23 2021 at 13:02)</a>:</h4>
<p>Thank you!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>